package com.etc.dao;

import com.etc.entity.RoomInfo;
import com.etc.entity.RoomType;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface RoomDao {

    /**
     * 查找RoomInfo所有东西
     * 畅
     * @return
     */
    List<RoomInfo> queryAllRoomInfo();

    /**
     * 根据类型查询房间
     */
    List<RoomInfo> queryAllRoomInfos(@Param("roomType")RoomType roomType);




}
